package model.Service;

import java.util.List;
import model.DAO.TimetableDAO;
import model.Entity.SIS.Timetable;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("TimetableService")
public class TimetableService {
	
	@Autowired
	TimetableDAO timetableDAO;
	
	public List<Timetable> getTimetableByFaculty(Integer facultyNo){
		return timetableDAO.findByFaculty(facultyNo);
	}

}
